import http from "./http";

export default {
	// 上传图片
	uploadImage(params) {
		return http.post("/images/upload", params, {
			headers: { "Content-Type": "multipart/form-data" },
		});
	},
	//   上传多张图片
	uploadImages(params) {
		return http.post("/images/uploadImages", params, {
			headers: { "Content-Type": "multipart/form-data" },
		});
	},
};
